import React from 'react'
import {Button} from "antd-mobile"
import { useNavigate } from 'react-router-dom'

function Home() {
    const navigate=useNavigate();
    const Login=()=>{
        navigate('/login')
    }
  return (
    <div>
      <Button color='primary' onClick={Login}>登录</Button>
    </div>
  )
}

export default Home
